package com.lt.test.provider.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface KtPurchaseOrderDao{
	 List query(Map parameter);  
	 int create(Map parameter); 
     int update(Map parameter);   
     int save(Map parameter); 
     Map findById(String id);
     int batch(List values);
     int batchUpdate(List values);

     Map<String,Object> getPurchaseOrderListSize(String type, String beginTime, String endTime, String approveFlag, String repertoryId, String shopName, String supplierName);

     List<Map<String,Object>> getPurchaseOrderListByPage(String type, String beginTime, String endTime, String approveFlag, Long beginNum, Long endNum, String repertoryId, String shopName, String supplierName);
}
